package com.itbaizhan.myshiro.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itbaizhan.myshiro.domain.Permission;
import com.itbaizhan.myshiro.domain.Users;

import java.util.List;

public interface UserMapper extends BaseMapper<Users> {
        //根据用户id查询权限
    List<Permission> findPermissionById(Integer id);

}
